package com.usian.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.model.user.pojos.ApUserFan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ApUserFanMapper extends BaseMapper<ApUserFan> {

    public List<ApUserFan> findByUserIdAndFansId(@Param("userId") Integer userId ,@Param("fansId")Integer fansId);

    public void deleteByUserIdAndFansId (@Param("userId")Integer userId,
                                           @Param("fansId")Integer fansId);
}
